<!DOCTYPE HTML>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core">

<f:view>
  <f:metadata>
    <!-- Start a new process instance. Process Definition Key is read internally from
         request parameters and cached in the CDI conversation scope.
    -->
    <f:event type="preRenderView" listener="#{camundaTaskForm.startTaskForm()}" />
  </f:metadata>
  <h:head>
    <title>Reminder</title>
  </h:head>
  <h:body>
    <h1>Reminder</h1>
    <h:form id="submitForm">

		<h:commandButton id="submit_button" value="Save" action="#{camundaTaskForm.completeTask()}" />

    </h:form>
  </h:body>
</f:view>
</html>
